export default [
    {
        title: '系统介绍',
        icon: '#icon-jiaoyu3',
        path: '/admin',
        show: false,
        permission: '',
        children: [
            {
                title: '系统简介',
                icon: '#icon-huiyishenqing',
                path: '/admin',
                show: false,
                permission: 'admin.index',
            },
        ],
    },
    {
        title: '桌台管理',
        icon: '#icon-jiaoyu3',
        path: '/admin/desk/index',
        show: false,
        permission: '',
        children: [
            {
                title: '桌台管理',
                icon: '#icon-hangye',
                path: '/admin/desk/index',
                show: false,
                permission: 'active.desk.index',
            },
        ],
    },
    {
        title: '商品管理',
        icon: '#icon-xihuan',
        path: '/admin/category/index',
        show: false,
        permission: '',
        children: [
            {
                title: '商品分类',
                icon: '#icon-huncai',
                path: '/admin/category/index',
                show: false,
                permission: 'active.category.index',
            },
            {
                title: '商品管理',
                icon: '#icon-tiaokong',
                path: '/admin/product/index',
                show: false,
                permission: 'active.product.index',
            },
        ],
    },
    {
        title: '订单管理',
        icon: '#icon-zichan1',
        path: '/admin/order/index',
        show: false,
        permission: '',
        children: [
            {
                title: '订单列表',
                icon: '#icon-tongji',
                path: '/admin/order/index',
                show: false,
                permission: 'active.order.index',
            }
        ],
    },
    {
        title: '一键下单',
        icon: '#icon-yuangongfankui',
        path: '/admin/bill/index',
        show: false,
        permission: '',
    },
    {
        title: '角色权限',
        icon: '#icon-zhanghaoguanli',
        path: '/admin/role/permission',
        show: false,
        permission: 'admin.role.index',
        children: [
            {
                title: '用户管理',
                icon: '#icon-qiyebumen',
                path: '/admin/user',
                show: false,
                permission: 'admin.manager',
                children: [
                    {
                        title: '用户列表',
                        icon: '#icon-dingdanchaxun',
                        path: '/admin/user/index',
                        show: false,
                        permission: 'admin.user.index',
                    },
                    {
                        title: '角色分配',
                        icon: '#icon-jiazhao',
                        path: '/admin/role/syncroles',
                        show: false,
                        permission: 'admin.role.syncroles',
                    },
                ],
            },
            {
                title: '角色配置',
                icon: '#icon-shezhi',
                path: '/admin/role',
                show: false,
                permission: 'admin.role',
                children: [
                    {
                        title: '角色列表',
                        icon: '#icon-biaoqian',
                        path: '/admin/role/index',
                        show: false,
                        permission: 'admin.role.index',
                    },
                    {
                        title: '添加角色',
                        icon: '#icon-paihang1',
                        path: '/admin/role/create',
                        show: false,
                        permission: 'admin.role.create',
                    },
                ],
            },
        ],
    },
    {
        title: '系统配置',
        icon: '#icon-shezhi',
        path: '/admin/config/edit',
        show: true,
        permission: 'admin.config',
        children: [
            {
                title: '系统配置',
                icon: '#icon-tiaokong',
                path: '/admin/config/edit',
                show: false,
                permission: 'admin.config.edit',
            },
            {
                title: '轮播图管理',
                icon: '#icon-tiaokong',
                path: '/admin/swiper/index',
                show: false,
                permission: 'admin.swiper.index',
            },
            {
                title: '短信配置',
                icon: '#icon-tiaokong',
                path: '/admin/sms/edit',
                show: false,
                permission: 'admin.sms.edit',
            },
        ],
    },
]
